package pl.mdziedzic.unittests;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class PropertiesReader {
	
	public static void main(String[] args) throws FileNotFoundException, IOException {
		FileInputStream propsFile = new FileInputStream("src/test/resources/selenium.properties");
		
		Properties props = new Properties();
		props.load(propsFile);
		
		System.out.println(props.getProperty("admin2"));
	}

}
